/*    */ package dm.jdbc.driver;
/*    */ 
/*    */ import java.io.Reader;
/*    */ 
/*    */ public class DmReaderParam
/*    */ {
/*    */   Reader m_reader;
/*    */   long m_targetLen;
/*    */   
/*    */   public DmReaderParam(Reader reader) {
/* 11 */     this.m_reader = reader;
/* 12 */     this.m_targetLen = -1L;
/*    */   }
/*    */   
/*    */   public DmReaderParam(Reader reader, long targetLen) throws java.sql.SQLException {
/* 16 */     if (targetLen < 0L) {
/* 17 */       String msg = "Invalid target length of Stream : " + targetLen;
/* 18 */       throw new java.sql.SQLException(msg);
/*    */     }
/*    */     
/* 21 */     this.m_reader = reader;
/* 22 */     this.m_targetLen = targetLen;
/*    */   }
/*    */ }


/* Location:              D:\Program Files\DBMS_20150813\jdbc\Dm7JdbcDriver17.jar!\dm\jdbc\driver\DmReaderParam.class
 * Java compiler version: 2 (46.0)
 * JD-Core Version:       0.7.1
 */